package com.ruoyi.project.system.dispatch.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.util.Objects;

/**
 * 【请填写功能名称】对象 ve_dispatch
 * 
 * @author ruoyi
 * @date 2024-01-29
 */
public class VeDispatch extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 调度id */
    private Long id;

    /** 车辆id */
    @Excel(name = "车辆id")
    private Long vehicleId;

    /** 驾驶员id */
    @Excel(name = "驾驶员id")
    private Long driverId;

    /** 客户id */
    @Excel(name = "客户id")
    private Long customerId;

    /** 目的地id */
    @Excel(name = "目的地id")
    private Long destinationId;

    /** 流程id */
    @Excel(name = "流程id")
    private Long flowInstantId;

    /** 图片 */
    @Excel(name = "图片")
    private String picture;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    //车辆名称
    private String vehicleName;
    //驾驶员姓名
    private String DriverName;
    //客户姓名
    private String CustomerName;
    //目的地
    private String name;
    //是否同意
    private Integer agree;
    //评论
    private String comment;

    public Integer getAgree() {
        return agree;
    }

    public void setAgree(Integer agree) {
        this.agree = agree;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getVehicleName() {
        return vehicleName;
    }

    public void setVehicleName(String vehicleName) {
        this.vehicleName = vehicleName;
    }

    public String getDriverName() {
        return DriverName;
    }

    public void setDriverName(String driverName) {
        DriverName = driverName;
    }

    public String getCustomerName() {
        return CustomerName;
    }

    public void setCustomerName(String customerName) {
        CustomerName = customerName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setVehicleId(Long vehicleId)
    {
        this.vehicleId = vehicleId;
    }

    public Long getVehicleId()
    {
        return vehicleId;
    }
    public void setDriverId(Long driverId)
    {
        this.driverId = driverId;
    }

    public Long getDriverId()
    {
        return driverId;
    }
    public void setCustomerId(Long customerId)
    {
        this.customerId = customerId;
    }

    public Long getCustomerId()
    {
        return customerId;
    }
    public void setDestinationId(Long destinationId)
    {
        this.destinationId = destinationId;
    }

    public Long getDestinationId()
    {
        return destinationId;
    }
    public void setFlowInstantId(Long flowInstantId)
    {
        this.flowInstantId = flowInstantId;
    }

    public Long getFlowInstantId()
    {
        return flowInstantId;
    }
    public void setPicture(String picture)
    {
        this.picture = picture;
    }

    public String getPicture()
    {
        return picture;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        VeDispatch that = (VeDispatch) o;
        return Objects.equals(id, that.id);

    }

    @Override
    public int hashCode() {
        return Objects.hash(id);
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("vehicleId", getVehicleId())
            .append("driverId", getDriverId())
            .append("customerId", getCustomerId())
            .append("destinationId", getDestinationId())
            .append("flowInstantId", getFlowInstantId())
            .append("picture", getPicture())
            .append("status", getStatus())
            .toString();
    }
}
